<!DOCTYPE html>
<html lang="en">
	<head>
	    <title>预支付</title>
	    <meta charset="UTF-8" />
	    <meta name="Author" content="" />
	    <meta name="Keywords" content="" />
	    <meta name="Description" content="" />
	    
	    <!-- 样式库 -->
	    <link rel="stylesheet" href="../../../js/ztree/css/zTreeStyle/zTreeStyle.css" />
	    <link rel="stylesheet" href="../../../js/bootstrap/themes/default/bootstrap.css" />
	    <link rel="stylesheet" href="../../../js/jquery-easyui-1.5/themes/bootstrap/validatebox.css" />
	    <link rel="stylesheet" href="../../../js/jquery-easyui-1.5/themes/bootstrap/tooltip.css" />
	    <link rel="stylesheet" href="../../../css/jquery.select2.css" />
	    <link rel="stylesheet" href="../../../css/jquery.select2-bootstrap.css" />
	    <link rel="stylesheet" href="../../../css/jquery.datetimepicker.css" />
	    
	    <!-- 插件库 -->
	    <script src="../../../js/common/package.js"></script>
		<script src="../../../js/common/url.js"></script>
		<script src="../../../js/common/json2.js"></script>	
		<script src="../../../js/common/jquery-1.11.3.min.js"></script>		
		<script src="../../../js/bootstrap/bootstrap.js"></script>
		<script src="../../../js/bootstrap/plugins/bootstrap-paginator.js"></script>
		<script src="../../../js/jquery-easyui-1.5/jquery.easyui.min.js"></script>
		<script src="../../../js/ztree/js/jquery.ztree.all.min.js"></script>
		<script src="../../../js/common/jquery.select2.js"></script>
		
		<!-- 业务库 -->
		<script src="../../../js/common/base.js"></script>
		<script src="../../../js/common/datagrid2.js"></script>
		<script src="../../../js/common/tree.js"></script>
		<script src="../../../js/common/formatter.js"></script>	    
	    <script src="../../../js/each/cfm/creditSys/toPayment.js"></script>
	    <script src="../../../js/common/jquery.datetimepicker.js"></script>
	    <script src="../../../js/each/cfm/merch/merch.js"></script>
		
		<!-- 页面样式 -->
		<style type="text/css">
			body {
				font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif !important;
				background:#eee url("../../../img/back.png") repeat;
			}
			.container-fluid {
				padding:5px;
			}
			.left-part {
				height:800px;
			}
			.modal-form {
				margin:8px;
			}
		</style>
	    
	</head>
	<body>
	
		<div class="container-fluid">
			<div class="row">				
				<div class="col-md-12">
					<div class="panel panel-info">
						<div class="panel-heading">
							<h4 class="panel-title">查询信息</h4>
					  	</div>
					  	<div class="panel-body">	
					  		<form id="searchForm" class="form-inline">
							  	<div class="form-group">
							    	<label class="form-label">商户名 </label>
							  	</div>
							  	<div class="form-group">
							    	<!-- <select id="merchName" name="merchName" class="form-control">
								    </select> -->
								    <input id="merchName" type="text" readonly value="全部商户" name="merchName" class="form-control merch" onclick="showMenu(); return false;" style="width:220px;"/>
							  	</div>
							  	<div class="form-group">
							    	<label class="form-label">手机号</label>
							  	</div>
							  	<div class="form-group">
							    	<input name="regId" type="text" class="form-control input-sm" placeholder="请输入手机号">
							  	</div>
							  	<div class="form-group">
							    	<label class="form-label">姓名</label>
							  	</div>
							  	<div class="form-group">
							    	<input name="userName" type="text" class="form-control input-sm" placeholder="请输入姓名">
							  	</div>
							  	<div class="form-group">
							    	<label class="form-label">开始时间</label>
							  	</div>
							  	<div class="form-group">
							    	<input name="startTime" id='startTime' type="text" class="form-control input-sm" placeholder="请输入开始时间">
							  	</div>
							  	<div class="form-group">
							    	<label class="form-label">结束时间</label>
							  	</div>
							  	<div class="form-group">
							    	<input name="endTime" id='endTime' type="text" class="form-control input-sm" placeholder="请输入结束时间">
							  	</div>					  	
							  	<button id="btn-search" type="button" class="btn btn-default btn-sm">查询</button>
								<button id="btn-reset" type="button" class="btn btn-default btn-sm">重置</button>
								<button id="btn-account" type="button" class="btn btn-default btn-sm" onclick="IQB.toPayment.collection()">催收</button>   							
							</form>		  												 	
					  	</div>
					</div>
					<div class="panel panel-info">
						<div class="panel-heading">
							<h4 class="panel-title">预付款信息</h4>
					  	</div>
					    <div class="panel-body">
					    	<!-- <form id="listForm">					    		
					    		<button id="btn-update" type="button" class="btn btn-warning btn-sm">修改订单</button>
					    	</form> -->
					  	</div>
						<table id="datagrid" class="table table-striped table-bordered table-hover table-condensed">
						    <thead>
						    	<tr>
						    		<!-- <th field="rn">序号</th> -->	
						    		<th field="userName">姓名</th>		    		
							    	<th field="regId">手机号</th>						    	
							    	<!-- <th field="orderNo" idField="true" hidden='true'>订单Number</th> -->
							    	<th field="orderId" idField="true" hidden='true'>订单ID</th>
							    	<th field="orderName">订单名称</th>
							    	<th field="orderAmt" formatter="Formatter.money(val)">金额</th>
							    	<th field="orderItems">期数</th>
							    	<th field="monthInterest" formatter="Formatter.money(val)">月供</th>
							    	<th field="downPayment" formatter="Formatter.money(val)">首付</th>
							    	<th field="margin" formatter="Formatter.money(val)">保证金</th>
							    	<th field="serviceFee" formatter="Formatter.money(val)">服务费</th>
							    	<th field="feeAmount" formatter="Formatter.money(val)">上收息</th>
							    	<th field="takePayment" formatter="Formatter.upPayment(val)">是否上收月供</th>
							    	<th field="preAmt" formatter="Formatter.money(val)">预付金额</th>
							    	<th field="s" formatter="Formatter.orderStatu(val, row, rowIndex)">状态</th>
							    	<th field="option" formatter="Formatter.option(val,row,rowIndex)">操作</th>
                                    <th field="ck">催收</th>
						    	</tr>
						    </thead>
						    <tbody></tbody>
						</table>
					  	<div class="panel-footer">
							<div id="paginator"></div>
						</div>
					</div>
				</div>
			</div>		 	
		</div>	
		<div id="menuContent" class="menuContent" style="max-height:500px;overflow:scroll;display:none; position: absolute;background:#fff;border:1px solid #ccc;">
	        <ul id="treeDemo" class="ztree" style="margin-top:0; width:200px;"></ul>
        </div>
	</body>
</html>